package com.xzq.message;

import lombok.Data;

/**
 * @Author xzq
 * @Description //TODO
 * @Date 2021/11/22 20:07
 * @Version 1.0.0
 **/
@Data
public class RpcResponseMessage extends Message{

    /**
     * 返回值
     */
    private Object returnValue;

    /**
     * 异常值
     */
    private Exception exceptionValue;

    @Override
    public Integer getMessageType() {
        return RpcResponseMessage;
    }
}
